#ifndef MYAXISTICKER_H
#define MYAXISTICKER_H

#include <QObject>
#include <QString>
#include "qcustomplot.h"

class MyAxisTicker :public QCPAxisTicker
{
public:
    MyAxisTicker();
    QString getTickLabel(double tick, const QLocale &locale, QChar formatChar, int precision) override;
private:
QStringList unitList;
QString currUnit;
};

#endif // MYAXISTICKER_H
